package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.SpuSaleAttrValue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SpuSaleAttrValueMapper
        extends BaseMapper<SpuSaleAttrValue> {
    void batchInsert(
            @Param("spuId") Long spuId,
            @Param("spuSaleAttrValueList") List<SpuSaleAttrValue> spuSaleAttrValueList,
            @Param("saleAttrName") String saleAttrName);
}
